# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httpie-oauth
pkgver=1.0.2
pkgrel=2
pkgdesc="OAuth plugin for HTTPie"
url="https://github.com/jkbr/httpie-oauth"
arch="noarch"
license="BSD-3-Clause"
depends="python3 httpie py3-requests-oauthlib"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/h/httpie-oauth/httpie-oauth-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d2825143e839f82591db59995619f7437fccc42e9f126ca247e19b1533706cfaadaab5c3518d3d994e898fcb3d98ed899cd9a36f07963d701eb019587c2821c6  httpie-oauth-1.0.2.tar.gz"
